package com.study.demo.mybatis.mapper;

import com.study.demo.mybatis.vo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: elvin
 * @time: 2019-05-27 13:19
 * @desc:
 **/
@Repository
public interface UserMapper  {

    public User getById(Integer id);

    public List<User> getByAge(Integer age);

    public int insert(User user);
}
